<template>
  <div class="custom-table" v-loading="loading">
    <div v-if="!list.length" class="easy-container no-data">{{ loading ? '' : '暂无数据' }}</div>
    <result-list-item v-for="item in list" :key="item.key" :item="item" />
  </div>
</template>

<script>
import ResultListItem from './result-list-item';

export default {
  name: 'result-list',
  components: { ResultListItem },
  props: {
    list: Array,
    loading: Boolean,
  },
};
</script>

<style></style>
